[INFO] cloning repository https://github.com/cristiano-s-r-filho/rust_data_structure_katas
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cristiano-s-r-filho/rust_data_structure_katas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristiano-s-r-filho%2Frust_data_structure_katas", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristiano-s-r-filho%2Frust_data_structure_katas'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1617db60a9c619bce94dc04d5886fb3fd2e5bc2
[INFO] fixing cristiano-s-r-filho/rust_data_structure_katas against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristiano-s-r-filho%2Frust_data_structure_katas" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cristiano-s-r-filho/rust_data_structure_katas
[INFO] finished tweaking git repo https://github.com/cristiano-s-r-filho/rust_data_structure_katas
[INFO] tweaked toml for git repo https://github.com/cristiano-s-r-filho/rust_data_structure_katas written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cristiano-s-r-filho/rust_data_structure_katas on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cristiano-s-r-filho/rust_data_structure_katas already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818
[INFO] running `Command { std: "docker" "start" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking rust_data_structs_katas v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `nix` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |     use nix::libc::{tcsetattr, TCSANOW};
[INFO] [stdout]     |         ^^^ use of unresolved module or unlinked crate `nix`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:224:24
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                         -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 224 |                 write!(w, "\x1B[?25l")?;
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 221 -     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 221 +     fn hide_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                         -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 226 |                 w.flush()
[INFO] [stdout]     |                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 221 -     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 221 +     fn hide_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:252:20
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                     -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 252 |             write!(w, "\x1B[?25h")?;
[INFO] [stdout]     |                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 249 - fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 249 + fn show_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                     -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 254 |             w.flush()
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 249 - fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 249 + fn show_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ORIGINAL_TERMIOS` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:367:38
[INFO] [stdout]     |
[INFO] [stdout] 367 |     if let Some(original) = unsafe { ORIGINAL_TERMIOS } {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/utils/buffers.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, io::{self, Read, Write}};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]    --> src/utils/buffers.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |     use std::mem;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `nix` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |     use nix::libc::{tcsetattr, TCSANOW};
[INFO] [stdout]     |         ^^^ use of unresolved module or unlinked crate `nix`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `nix`, use `cargo add nix` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `enable_raw_mode` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         enable_raw_mode()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 | fn disable_raw_mode() -> io::Result<()> {
[INFO] [stdout]     | --------------------------------------- similarly named function `disable_raw_mode` defined here
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/utils/buffers.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | #[cfg(windows)]
[INFO] [stdout]     |       ------- the item is gated here
[INFO] [stdout] 343 | fn enable_raw_mode() -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 142 -         enable_raw_mode()?;
[INFO] [stdout] 142 +         disable_raw_mode()?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_key` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:161:23
[INFO] [stdout]     |
[INFO] [stdout] 161 |             let key = read_key(&mut stdin)?;
[INFO] [stdout]     |                       ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/utils/buffers.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[cfg(windows)]
[INFO] [stdout]     |       ------- the item is gated here
[INFO] [stdout] 300 | fn read_key<R: Read>(_reader: &mut R) -> io::Result<Key> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:224:24
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                         -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 224 |                 write!(w, "\x1B[?25l")?;
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 221 -     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 221 +     fn hide_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                         -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 226 |                 w.flush()
[INFO] [stdout]     |                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 221 -     fn hide_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 221 +     fn hide_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:252:20
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                     -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 252 |             write!(w, "\x1B[?25h")?;
[INFO] [stdout]     |                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 249 - fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 249 + fn show_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `w` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |                                     -- `_w` defined here
[INFO] [stdout] ...
[INFO] [stdout] 254 |             w.flush()
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: the leading underscore in `_w` marks it as unused, consider renaming it to `w`
[INFO] [stdout]     |
[INFO] [stdout] 249 - fn show_cursor<W: Write>(&mut self, _w: &mut W) -> io::Result<()> {
[INFO] [stdout] 249 + fn show_cursor<W: Write>(&mut self, w: &mut W) -> io::Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ORIGINAL_TERMIOS` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:367:38
[INFO] [stdout]     |
[INFO] [stdout] 367 |     if let Some(original) = unsafe { ORIGINAL_TERMIOS } {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/utils/buffers.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, io::{self, Read, Write}};
[INFO] [stdout]   |                                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]    --> src/utils/buffers.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |     use std::mem;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_data_structs_katas` (lib) due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `enable_raw_mode` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         enable_raw_mode()?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 | fn disable_raw_mode() -> io::Result<()> {
[INFO] [stdout]     | --------------------------------------- similarly named function `disable_raw_mode` defined here
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/utils/buffers.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | #[cfg(windows)]
[INFO] [stdout]     |       ------- the item is gated here
[INFO] [stdout] 343 | fn enable_raw_mode() -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 142 -         enable_raw_mode()?;
[INFO] [stdout] 142 +         disable_raw_mode()?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_key` in this scope
[INFO] [stdout]    --> src/utils/buffers.rs:161:23
[INFO] [stdout]     |
[INFO] [stdout] 161 |             let key = read_key(&mut stdin)?;
[INFO] [stdout]     |                       ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/utils/buffers.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 299 | #[cfg(windows)]
[INFO] [stdout]     |       ------- the item is gated here
[INFO] [stdout] 300 | fn read_key<R: Read>(_reader: &mut R) -> io::Result<Key> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_data_structs_katas` (lib test) due to 8 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818", kill_on_drop: false }`
[INFO] [stdout] 7339b4e1fa5f4fe75baf8e527c657ebadf3690a63eae3e9186b222bf9c63e818
